package com.jsj.service.impl;

import com.jsj.dao.SiminfoDao;
import com.jsj.domain.Siminfo;
import com.jsj.service.ISiminfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SiminfoServiceImpl implements ISiminfoService {

    @Autowired
    private SiminfoDao siminfoDao;

    @Override
    public Siminfo querySiminfo(long sourceId) {
        return siminfoDao.querySiminfo(sourceId);
    }

    @Override
    public Integer insertSiminfo(Siminfo siminfo) {
        return siminfoDao.insertSiminfo(siminfo);
    }

    @Override
    public Integer deleteSiminfo(long id) {
        return siminfoDao.deleteSiminfo(id);
    }
}
